﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Modularity;
using MP3Ganizer.Common.BaseObject;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Composite.Regions;
using MP3Ganizer.Common.Interfaces.FileList;
using MP3Ganizer.Modules.FileList.Views;
using MP3Ganizer.Modules.FileList.ViewModels;
using MP3Ganizer.Modules.FileList.Controllers;

namespace MP3Ganizer.Modules.FileList
{
    [Module(ModuleName = "FileListModule"), ModuleDependency("InfrastructuresModule")]
    public class FileListModule : ModuleBase<IFileListController>
    {
        public FileListModule(IUnityContainer unityContainer, IRegionManager regionManager)
            : base(unityContainer, regionManager)
        {
        }

        protected override void RegisterViewsAndServices()
        {
            Container.RegisterType<IFileListView, FileListView>();
            Container.RegisterType<IFileListViewModel, FileListViewModel>();
            Container.RegisterType<IFileListController, FileListController>();
        }

    }
}
